package org.hegang.design.first.abstractfactorypattern;

import org.hegang.design.first.abstractfactorypattern.impl.HuaweiMobile;
import org.hegang.design.first.abstractfactorypattern.impl.HuaweiRouter;

/**
 * @Classname: HuaweiCompany
 * @Description:
 * @Date: 2021/4/20 23:50
 * @Author: gang.he
 * @Email: SmileSkyLife@outlook.com
 * @LastModified:
 * @Version: v1.0.0
 */
public class HuaweiCompany implements Product {
    @Override
    public Mobile getMobile() {
        return new HuaweiMobile();
    }

    @Override
    public Router getRouter() {
        return new HuaweiRouter();
    }
}
